package br.com.ravi.taglib;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;

public class RaviView extends TagSupport {
	private static final long serialVersionUID = 1L;
	private String clazz;
	public String getClazz() {
		return clazz;
	}
	public void setClazz(String clazz) {
		this.clazz = clazz;
	}
	
	@Override
	public int doStartTag() throws JspException {
		JspWriter out = pageContext.getOut();
		try {
			out.print(clazz);
			return SKIP_BODY;
		} catch (IOException e) {
			throw new JspException(e);
		}
	}
}